package easymall.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import easymall.dao.CategoryNumDao;
import easymall.po.CategoryNum;
@Service("categoryNumService")
public class CategoryNumServiceImpl implements CategoryNumService{
	@Autowired
	CategoryNumDao categoryNumDao;
	
	public List<CategoryNum> findCategoryNum(){
		return categoryNumDao.findCategoryNum();
	}

	@Override
	public CategoryNum findCategoryName(CategoryNum categorynum) {
		// TODO Auto-generated method stub
		return categoryNumDao.findCategoryName(categorynum);
	}

}
